<?php

/**
 * Base class for all application presenters.
 *
 * @author     John Doe
 * @package    MyApplication
 */
abstract class BasePresenter extends Nette\Application\UI\Presenter
{

    protected $model;
    
    public $menu = array (
	'Homepage:' => 'Domů',
	'Homepage:' => 'Články',
	'Homepage:' => 'Zápasy',
	'Homepage:' => 'Sestava',
	'Homepage:' => 'Statistiky'
    );
    
    public function startup() 
    {
	parent::startup();
	$this->model = $this->getService('model');
    }
    
    public function beforeRender()
    {
	$this->template->menu = $this->menu;
    }
    
}
